package ferp.android.services;

/**
 * User: igorgok
 * Date: 4/8/12 11:27 AM
 */

interface IResolverService2
{
  byte preallocate();
  byte initialize(int evaluator, int declarer, int starter, int trump, in int[] hands, byte talon0, byte talon1, boolean open, boolean rostov, int sets, int drop);
  byte recalculateOnNextSolve(int trick);
  byte solve();
  byte getBestMove(int level, int hand, int trick, int cardInHand);
  int getBestScore();
  byte advance(int hand, int trick);
  // statistics
  long getAvailableMemory();
  int getNodePoolCapacity();
  int getMovePoolCapacity();
  // positions per second
  int getSpeed();
  String getExceptionTrace();
}
